import Layout from '@/layout'

const roomInfoRouter = {
  path: '/amszs/roomInformation',
  component: Layout,
  redirect: '/amszs/roomInformation/index',
  name: 'roomtypeInfo',
  alwaysShow: true,
  meta: {
    title: '房型信息',
    icon: 'clipboard'
  },
  children: [
    {
      path: 'index',
      component: () => import('@/views/amszs/roomInformation/index'),
      name: 'roomInfoIndex',
      meta: { title: '房型信息' }
    },
    {
      path: 'roominfoDetail/:id?',
      component: () => import('@/views/amszs/roomInformation/roominfoDetail.vue'),
      name: 'roomInfoDetail',
      meta: { title: '房型详情' }
    },
    {
      path: 'roominfoEadd/:id?',
      component: () => import('@/views/amszs/roomInformation/roominfoEadd.vue'),
      name: 'roomInfoDetail',
      meta: { title: '房型添加修改' }
    }

  ]
}

export default roomInfoRouter
